function gaia_setFocus() {
	var f1 = null;
	if (document.getElementById) {
		f1 = document.getElementById('myinput1');
	}
	f1.focus();

	if (document.getElementById) {
		f = document.getElementById('negative_keyword_input');
	}
	f.focus();

}

window.onload = gaia_setFocus;



if f in form

 function gaia_setFocus() {
var f = null;
if (document.getElementById) {
f = document.getElementById('gaia_loginform');
}
if (f) {
var agt = navigator.userAgent.toLowerCase();
var is_ie = (agt.indexOf("msie") != -1);
if (f.Email && (f.Email.value == null || f.Email.value == '' || is_ie)
&& (f.Email.type != 'hidden') && f.Email.focus) {
f.Email.focus();
if (f.Email.value) {
f.Email.value = f.Email.value;
}
} else if (f.Passwd) {
f.Passwd.focus();
}
}
}
window.onload = gaia_setFocus;

//or if hide_negative_keyword_form_btn is bellow 'negative_keyword_input'
function setFocus() {
	window.location.hash = "#hide_negative_keyword_form_btn";
	var f = document.getElementById('negative_keyword_input');
	f.focus();
}
//co thang true vao thi browser ko hoi luc reload nua
window.opener.location.reload(true);


